Feature: Create Post

Scenarios

Chart

Status

Progress

3

Passed

67.0 %

Failed

33.0 %
Total duration:
1m 6.213s

Scenario: As an administrator I create and publish a post

Given I log in as administrator 0m 5.308s
When I click on element having css selector "a[href="#/posts/"]" 0m 2.164s
And I click on element having css selector "a[href="#/editor/post/"]" 0m 2.245s
And I enter "" into input field having css selector "div.gh-koenig-editor-pane > textarea" 0m 2.088s
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]" 0m 2.123s
And I click on element having css selector "div.gh-publishmenu" 0m 2.106s
And I click on element having css selector "button.gh-publishmenu-button" 0m 2.080s
And I click on element having css selector "header a[href^="#/posts/"]" 0m 2.157s
And I click on element having css selector "div.gh-contentfilter-type" 0m 2.069s
And I click on element having css selector "ul > li[data-option-index="2"]" 0m 2.113s
Then I should see text "" 0m 0.024s

Screenshots

Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "div.gh-publishmenu"
And I click on element having css selector "button.gh-publishmenu-button"
And I click on element having css selector "header a[href^="#/posts/"]"
And I click on element having css selector "div.gh-contentfilter-type"
And I click on element having css selector "ul > li[data-option-index="2"]"
Then I should see text ""

Scenario: As an administrator I create and publish a post

Given I log in as administrator 0m 5.249s
When I click on element having css selector "a[href="#/posts/"]" 0m 2.195s
And I click on element having css selector "a[href="#/editor/post/"]" 0m 2.313s
And I enter "Test Post Kraken" into input field having css selector "div.gh-koenig-editor-pane > textarea" 0m 2.169s
And I enter "Hello World Kraken" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]" 0m 2.210s
And I click on element having css selector "div.gh-publishmenu" 0m 2.099s
And I click on element having css selector "button.gh-publishmenu-button" 0m 2.078s
And I click on element having css selector "header a[href^="#/posts/"]" 0m 2.155s
And I click on element having css selector "div.gh-contentfilter-type" 0m 2.090s
And I click on element having css selector "ul > li[data-option-index="2"]" 0m 2.124s
Then I should see text "Test Post Kraken" 0m 0.024s

Screenshots

Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "Hello World Kraken" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "div.gh-publishmenu"
And I click on element having css selector "button.gh-publishmenu-button"
And I click on element having css selector "header a[href^="#/posts/"]"
And I click on element having css selector "div.gh-contentfilter-type"
And I click on element having css selector "ul > li[data-option-index="2"]"
Then I should see text "Test Post Kraken"

Scenario: As an administrator I create and publish a post

Given I log in as administrator 0m 5.347s
When I click on element having css selector "a[href="#/posts/"]" 0m 2.187s
And I click on element having css selector "a[href="#/editor/post/"]" 0m 2.301s
And I enter "Test Post Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane > textarea" 0m 3.112s
And I enter "Hello World Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]" 0m 4.061s
And I click on element having css selector "div.gh-publishmenu" 0m 0.022s + Show Error
no such element: Unable to locate element: {"method":"css selector","selector":"div.gh-publishmenu"}
  (Session info: chrome=90.0.4430.212) (Selenium::WebDriver::Error::NoSuchElementError)
Backtrace:
	Ordinal0 [0x00CEC013+2474003]
	Ordinal0 [0x00C829C1+2042305]
	Ordinal0 [0x00B92F68+1060712]
	Ordinal0 [0x00BBD8A4+1235108]
	Ordinal0 [0x00BE7232+1405490]
	Ordinal0 [0x00BD684A+1337418]
	Ordinal0 [0x00BE55CB+1398219]
	Ordinal0 [0x00BD66DB+1337051]
	Ordinal0 [0x00BB3427+1192999]
	Ordinal0 [0x00BB42EE+1196782]
	Ordinal0 [0x00BB4279+1196665]
	GetHandleVerifier [0x00E796FC+1590332]
	GetHandleVerifier [0x00F28614+2306900]
	GetHandleVerifier [0x00D79E93+543699]
	GetHandleVerifier [0x00D792CE+540686]
	Ordinal0 [0x00C886BA+2066106]
	Ordinal0 [0x00C8D1C8+2085320]
	Ordinal0 [0x00C8D308+2085640]
	Ordinal0 [0x00C967F3+2123763]
	BaseThreadInitThunk [0x75ED6359+25]
	RtlGetAppContainerNamedObjectPath [0x77C087A4+228]
	RtlGetAppContainerNamedObjectPath [0x77C08774+180]
C:/Repos/Git/MISW4103/PruebasE2EGeneracionDatos/KrakenMobile-1.0.9/lib/kraken-mobile/steps/web/kraken_steps.rb:53:in `/^I click on element having css selector "(.*?)"$/'
././features/create-post/create-post-scenario1.feature:21:in `And I click on element having css selector "div.gh-publishmenu"'
././features/create-post/create-post-scenario1.feature:10:in `And I click on element having css selector "div.gh-publishmenu"'
And I click on element having css selector "button.gh-publishmenu-button" 0m 0.000s
And I click on element having css selector "header a[href^="#/posts/"]" 0m 0.000s
And I click on element having css selector "div.gh-contentfilter-type" 0m 0.000s
And I click on element having css selector "ul > li[data-option-index="2"]" 0m 0.000s
Then I should see text "Test Post Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" 0m 0.000s

Screenshots

Given I log in as administrator
When I click on element having css selector "a[href="#/posts/"]"
And I click on element having css selector "a[href="#/editor/post/"]"
And I enter "Test Post Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane > textarea"
And I enter "Hello World Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long" into input field having css selector "div.gh-koenig-editor-pane div[contenteditable=true]"
And I click on element having css selector "div.gh-publishmenu"
NO IMAGE AVAILABLE
And I click on element having css selector "button.gh-publishmenu-button"
NO IMAGE AVAILABLE
And I click on element having css selector "header a[href^="#/posts/"]"
NO IMAGE AVAILABLE
And I click on element having css selector "div.gh-contentfilter-type"
NO IMAGE AVAILABLE
And I click on element having css selector "ul > li[data-option-index="2"]"
NO IMAGE AVAILABLE
Then I should see text "Test Post Kraken Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long Long"
NO IMAGE AVAILABLE